/*
 *    Copyright (c) 2018-2025, nart All rights reserved.
 *
 * Redistribution and use in source and binary forms, with or without
 * modification, are permitted provided that the following conditions are met:
 *
 * Redistributions of source code must retain the above copyright notice,
 * this list of conditions and the following disclaimer.
 * Redistributions in binary form must reproduce the above copyright
 * notice, this list of conditions and the following disclaimer in the
 * documentation and/or other materials provided with the distribution.
 * Neither the name of the pig4cloud.com developer nor the names of its
 * contributors may be used to endorse or promote products derived from
 * this software without specific prior written permission.
 * Author: nart
 */

package com.nai365.nart.blockchain.entity;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * 区块链
 *
 * @author pigx code generator
 * @date 2022-06-23 15:31:52
 */
@Data
@TableName("chain")
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "区块链")
public class Chain extends Model<Chain> {

    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    @TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value="id")
    private Long id;

    /**
     * 链id
     */
    @ApiModelProperty(value="链id")
    private Integer chainId;

    /**
     * 开发联盟链id
     */
    @ApiModelProperty(value="开发联盟链id")
    private Integer opbChainId;

    /**
     * 区块链浏览器
     */
    @ApiModelProperty(value="区块链浏览器")
    private String explorer;

    /**
     * 开发联盟链名称
     */
    @ApiModelProperty(value="开发联盟链名称")
    private String name;

    /**
     * 网关
     */
    @ApiModelProperty(value="网关")
    private String gateway;

    /**
     * 721智能合约地址
     */
    @ApiModelProperty(value="721智能合约地址")
    private String ddc721Address;

    /**
     * 1155智能合约地址
     */
    @ApiModelProperty(value="1155智能合约地址")
    private String ddc1155Address;

    /**
     * 权限代理智能合约地址
     */
    @ApiModelProperty(value="权限代理智能合约地址")
    private String authorityAddress;

    /**
     * 计费智能合约地址
     */
    @ApiModelProperty(value="计费智能合约地址")
    private String chargeAddress;

    /**
     * 删除标志
     */
    @ApiModelProperty(value="删除标志")
    private String delFlag;

}
